All Questions
Tagged with autocompletelinux
15 questions
3votes
1answer
429views
Equivalent of PSReadLine for bash (or whatever linux shell) as you type
I'm aware of this question Equivalent of PSReadLine for bash But sadly it is still not close enough for me, all of the suggestions requires to press either tab, or ctrl + r or whatever, while ...
1vote
1answer
59views
Diagnose bash autocomplete issues
I have one binary on my system, fio installed via package manager which doesn't autocomplete files with tab once you've typed fio . I guess this means something must over overridding the autocomplete ...
2votes
1answer
5kviews
Suppress warning: egrep is obsolescent; using grep -E
When I run egrep, it shows warning: egrep is obsolescent; using grep -E But I'm using it as part of my shell autocomplete script that I often use, and I don't want to rewrite them. I'm looking for way ...
1vote
1answer
263views
How to stop autocomplete on remote ssh server
When I ssh into a remote server (macOS) from a Linux (Mint) laptop, the remote autocomplete engages and completes upon each keystroke. This started fairly recently, but I can't pinpoint exactly when. ...
4votes
3answers
98views
bash file completion without specifying "./"
I am using a minimal install of CentOS 8. If I have a folder called "some_folder" in my home folder, on the command line I can do: some <now hit tab, and bash completion resolves to "...
1vote
1answer
769views
Bash tab completion not working following = character
I've looked at a lot of bash tab completion questions and haven't yet found one that answers this one. I'm on a linux system (GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu)) and ...
0votes
1answer
306views
How to cycle through terminal autocomplete suggestions without pressing ENTER key?
In a scenario like following: sudo apt install a (press Tab twice) Display all 1244 possibilities? (y or n) (press Y) (It shows me a list where I can keep seeing more by pressing Enter) abiword-...
2votes
1answer
63views
Temporary display full name of argument instead of short name/abbrev
After an command, where the user should give an output location with -o, I wondered if there is an (standard) command that temporary displays the full name of the given argument, like the -o, that ...
0votes
1answer
345views
bash completion with arguments containing spaces
How to create a bash completion script that contains spaces in the argument, the following work nicely as long as the args are space separated, but I couldn't make it work with args that contain ...
0votes
1answer
110views
Centos7 autocomplete path not work
In centos6, If I set testPath=/usr/local/bin and then ls $testPath/ press it would be autocompleted as ls /usr/local/bin but in Centos7, shown is ls \$testPath/ how to set this completion rule ...
4votes
2answers
3kviews
How to generate list of *all* available commands and functions?
In Linux (I am using CentOS 7), there is a built in functionality to view all runnable commands. The command is run by pressing tab twice in the console followed by the prompt: Display all 1130 ...
1vote
0answers
158views
When using TAB completion with dd command, options (like 'if' or 'of') disappear
When I type dd if= then hit TAB to complete, the file name is added, but the if= portion vanishes (and of= too, for that matter). So for example, instead of # dd if=input_file.iso of=/dev/sdb I get ...
2votes
1answer
584views
How to avoid the hang of tab completion in home folder?
Sometimes on the server, if the disk IO load is heavy, the terminal is stuck by the tab completion. Ctrl-C|D|Z all don't quit. Each time I have to login from another session, find the stuck pty and ...
1vote
1answer
403views
How can I add autocomplete for "gem which" with rbenv?
I am using rbenv on Mac OS X. I have autocomplete functionality already for the gem command: $ gem build environment lock query stale cert fetch ...
5votes
1answer
3kviews
When auto-completing in tcsh, can I reference a previous argument?
I'm trying to get some efficient auto-completing going here, and have hit upon a bit of a snag. I've got a command for setting two things at once. The first is a relatively small list, but the second,...